<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <title>首页</title>
    <script src="/bootstrap/js/jquery.js"></script>
    
    <link rel="stylesheet" href="/bootstrap/css/bootstrap.min.css">
    <link rel="stylesheet" href="/css/iconfont.css">
    <link rel="stylesheet" href="/css/style.css">
    
    <script>
        function del(id){
            console.log(id)
            var res = confirm("确定删除么?")
            if(res == true){
                //执行删除操作
                let url = "/article/del?id=" + id
                // alert(url)
                //跳转到这个地址 
                location.href = url
            }else{
                //不是真的要删除
                alert('二货别瞎点')
            }
        }
    </script>
</head>
<body>